package com.huitu.whht.base.core.api.operation.system.entities;

import com.huitu.whht.api.core.common.base.BaseQo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 说明: 用户访问系统日志记录表查询条件实体类,表名称: T_WHHT_OPERATION_SYSTEM_LOG_B <br/>
 * 日期: 2019-04-15
 * @author LiuCW
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OperationSystemLogBQo extends BaseQo {

private static final long serialVersionUID = 4L;

    public OperationSystemLogBQo(){

    }

    /**
      * (数组)日志主键ID
      */
    public List<String> logIdList;
    /**
      * 日志主键ID
      */
    public String logId;
    /**
      * (数组)用户ID
      */
    public List<String> userIdList;
    /**
      * 用户ID
      */
    public String userId;
    /**
      * 用户名
      */
    public String userName;
    /**
      * (开始时间)系统登入时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime loginTimeBgTm;
    /**
      * (结束时间)系统登入时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime loginTimeEdTm;
    /**
      * (开始时间)系统登出时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime logoutTimeBgTm;
    /**
      * (结束时间)系统登出时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime logoutTimeEdTm;
    /**
      * (开始时间)时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime tsBgTm;
    /**
      * (结束时间)时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime tsEdTm;
    /**
      * 令牌
      */
    public String token;
    /**
      * ip
      */
    public String ip;
}